package active.iterators;

import java.util.ArrayList;

public class ClientIterators {
    public static void main(String[] args) {
        ArrayList<College> colleges = new ArrayList<>();
        colleges.add(new ComputerCollege());
        colleges.add(new InfoCollege());

        OutputPrint outputPrint = new OutputPrint(colleges);
        outputPrint.collegeListForEach();
    }
}
